<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of m_dmktlkl
 *
 * @author Trung Đặng
 */
class M_homthu extends CI_Model{
    public function __construct() {
        parent::__construct();
      
    }
     public function getAll() {
         
        $query = $this->db->get('tbl_homthu');
        $data = FALSE;
        foreach ($query->result() as $row) {
            
                $data[] = $row;           
        }
        return $data;
    }
    
    
}
